<div class="view" (click)="closeView()">
    <Carousel [selectedIndex]="showIndex" [infinite]="true" [vertical]="false" [dots]='false' (beforeChange)="beforeChange($event)" (afterChange)="afterChange($event)">
        <CarouselSlide *ngFor="let item of Photos">
            <div style="display: inline-block; width: 100%;" [ngStyle]="{'height': '600px'}">
                <img src="{{item.src}}" style="width: 100%;height: auto" />
            </div>
        </CarouselSlide>
    </Carousel>
</div>

